<template>
     <div id="box">
          <header>
               <ul>
                 <li @click="fanhui"><img src="../assets/img/fanhui.png"></li>
                 <li>修改密码</li>
                 <li><img src="../assets/img/xiaoxi.png"></li>
               </ul>
          </header>
          <section>
              <div class="one" v-for="list in lists">
                <span>{{list.text}}</span>
                <input type="text">
              </div>
              <button>{{texts}}</button>
          </section>
       <footer>
              <ul>
              <router-link to="/shouye">
              <li><img src="../assets/img/foot_1.png"><p>首页</p></li>
            </router-link>
            <router-link to="/fujin">
                <li><img src="../assets/img/foot_2.png"><p>附近</p></li>
              </router-link>
               <router-link to="/yiweiyuanshenqing">
                <li><img src="../assets/img/foot_3.png"></li>
              </router-link>
                <router-link to="/wodedingdan">
                <li><img src="../assets/img/foot_4.png"><p>订单</p></li>
              </router-link>
              <router-link to="/gerenzhongxin"> 
                <li><img src="../assets/img/foot_5.png"><p>我的</p></li>
              </router-link>
              </ul>
          </footer>
     </div>
</template>

<script>
export default {
  name: 'box',
  data () {
    return{
      lists:[
       {text:"原密码"},
       {text:"设置新密码"},
       {text:"重置新密码"},
      ],
      texts:"确定"
        
        
    }
  },
  methods:{
  fanhui(){
  this.$router.go(-1)
  }
  }
}

</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
   @import ".././assets/less/xiugaimima.less";
   @import ".././assets/css/reset.css";
</style>